package com.hainatong.jcmvvmbase.login.entity;

public class LoginResult
{
    private boolean isLoginSuccess;

    private String msg;

    private UserBean user;

    public LoginResult() {
    }

    public LoginResult(boolean isLoginSuccess, String msg) {
        this.isLoginSuccess = isLoginSuccess;
        this.msg = msg;
    }

    public LoginResult(boolean isLoginSuccess, UserBean user) {
        this.isLoginSuccess = isLoginSuccess;
        this.user = user;
    }

    public boolean isLoginSuccess()
    {
        return isLoginSuccess;
    }

    public void setLoginSuccess(boolean loginSuccess)
    {
        isLoginSuccess = loginSuccess;
    }

    public String getMsg()
    {
        return msg;
    }

    public void setMsg(String msg)
    {
        this.msg = msg;
    }

    public UserBean getUser()
    {
        return user;
    }

    public void setUser(UserBean user)
    {
        this.user = user;
    }

}
